import axiosData from "@/api/axios";

export default {
  /**
   * @description: 获取设备故障上报列表 *代表必填
   * @param {String/Number} page *
   * @param {String/Number} size *
   * @param {Object} entity {} *
   * @return {Array}
   */
  queryPageList(params) {
    return axiosData.post(
      "/v3/equipment-hitch/scrapTask/queryPageList",
      params
    );
  },
  /**
   *@description: 报废审核
   */
  scrapAudit(params) {
    return axiosData.post(
      "/v3/equipment-hitch/v1/hitchApplyAudit/auditScrap",
      params
    );
  },
  /**
  *@description: 报废审核
  */
  scrapAuditNew(params) {
    return axiosData.post(
      "/v3/equipment-hitch/v1/hitchApplyAudit/auditScrapNew",
      params
    );
  },
  /**
   *@description: 报废处理
   */
  scrapHandle(params) {
    return axiosData.post("/v3/equipment-hitch/scrapTask/dealTask", params);
  }
};
